<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        /*
        margin
        功能：可以改变元素的位置
        border -- 改变元素的宽度
        padding --改变元素的width，height
        */
    div{
        width:100px;
        height:100px;
        background:red;
        margin-left:100px;
        margin-top: 100px;

        border-width: 10px;
        border-style: solid;
        border-color: black;
        
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 30px;
        padding-bottom:  30px; 

    }
    </style>
</head>
<body>
    <div>

    </div>
</body>
</html>